<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=640,user-scalable=no,target-densityDpi=device-dpi">
<title>贺卡</title>
<script type="text/javascript" src="js/jquery-2.2.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.Jcrop.min.js"></script>
<script type="text/javascript" src="js/swiper.animate.min.js"></script>
<script type="text/javascript" src="js/swiper.min.js"></script>
<script type="text/javascript" src="js/cropper.min.js"></script>
<!--<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>-->
<script type="text/javascript" src="js/commonAjax.js"></script>
<link rel="stylesheet" href="css/animate.min.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/jquery.Jcrop.min.css">
<link rel="stylesheet" href="css/swiper.min.css" />
<link rel="stylesheet" href="css/cropper.min.css" />
<script type="text/javascript" src="home/index.js"></script>
<script>
	$(function() {
		var $main = $('#main');
		var desW = 640;
		var desH = 960;
		var viewHeight = $(window).height();
		$main.css('height', viewHeight);
		$("#submit").click(function(){
			var i=Number(getQueryString("page"));
			switch (i) {
			case 1:
				window.location.href="index1.html";
				break;
			case 2:
				window.location.href="index2.html";
				break;
			case 3:
				window.location.href="index3.html";
				break;
			case 4:
				window.location.href="index4.html";
				break;
			default:
				window.location.href="index.html";
				break;
			}
		});
		/**
		 * 获取get参数
		 * @param name	
		 * @returns
		 */
		 function getQueryString(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
			var r = window.location.search.substr(1).match(reg);
			if (r != null) 
				return unescape(r[2]); 
			return '';
		}
	})
</script>
<style>
		body {
			font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
			font-size: 14px;
			margin: 0;
			padding: 0;
		}
		#submit{
			padding-top: 800px;
			padding-left: 190px;
		}
</style>
</head>

<body>
	<div id="main" style="background: url('img/tip.png');">
		<div >
			<img id="submit" alt="" src="img/tip_button.png">
		</div>
	</div>
</body>

</html>